#import <UIKit/UIKit.h>
#import "MRViewController.h"

@interface MRSideViewController : MRViewController <UIGestureRecognizerDelegate>
{
    UIView      *_mainView;     //主页视图
    UIView      *_sideView;     //边栏视图
    
    UIView      *_lastView;
    UIViewController    *_lastViewController;
    
    UIImageView *_coverImage;
    UIButton    *_coverButton;      //点击隐藏边栏
    
    CGPoint     _startPanPoint;
    CGPoint     _translatePoint;
    
    UIImageView *_imgBackground;
    
    UIPanGestureRecognizer *_panGestureRecognizer;
}

@property (nonatomic, assign) BOOL      blurMode;     //视图模糊

@property (nonatomic, retain) UIImage           *backgroundImage;
@property (nonatomic, retain) UIViewController  *mainViewController;
@property (nonatomic, retain) UIViewController  *sideViewController;

@property (nonatomic, assign) CGRect  showFrame;     //边栏展示后根控制器框架(宽度自动计算)
@property (nonatomic, assign) CGFloat animationDuration;     //动画时长

- (void)show;      //展示边栏
- (void)hide;      //隐藏边栏

@end
